import java.awt.event.KeyEvent;

import org.powerbot.game.api.methods.input.Keyboard;


public class zKey {

	public boolean isDown = false;
	public char key = '1';
	
	public zKey(char key)
	{
		this.key = key;
	}
	public void down()
	{

		Keyboard.pressKey((char)key, 0, 0);
		isDown = true;
		
	}
	public void up()
	{
		Keyboard.releaseKey((char)key, 0, 0);
		isDown = false;
	}
	
}
